package com.itheima.pojo;

public class BrowseGoodsRecord {
    // id 主键
    private Integer id;
    // 商品名称
    private String itemName;
    // 停留时间
    private double duration;
    // 用户id
    private Integer userId;

    public BrowseGoodsRecord() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public double getDuration() {
        return duration;
    }

    public void setDuration(double duration) {
        this.duration = duration;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "BrowseGoodsRecord{" +
                "id=" + id +
                ", itemName='" + itemName + '\'' +
                ", duration=" + duration +
                ", userId=" + userId +
                '}';
    }
}
